﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMS.APP
{
    public class Page
    {
        #region Fields
        /// <summary>
        /// 页面Id
        /// </summary>
        private decimal id;
        /// <summary>
        /// 页面Id
        /// </summary>
        public decimal Id
        {
            get { return id; }
            //set { id = value; }
        }
        /// <summary>
        /// 第几页
        /// </summary>
        private int pageNumber;
        /// <summary>
        /// 第几页
        /// </summary>
        public int PageNumber
        {
            get { return pageNumber; }
            //set { pageNumber = value; }
        }
        /// <summary>
        /// 新闻Id
        /// </summary>
        private decimal newsId;
        /// <summary>
        /// 新闻Id
        /// </summary>
        public decimal NewsId
        {
            get { return newsId; }
            //set { newsId = value; }
        }
        /// <summary>
        /// 页面内容
        /// </summary>
        private string content;
        /// <summary>
        /// 页面内容
        /// </summary>
        public string Content
        {
            get { return content; }
            set { content = value; }
        }
        #endregion Fields

        /// <summary>
        /// 下一页
        /// </summary>
        public Page NextPage
        {
            get
            {
                throw new System.NotImplementedException();
            }
        }
        /// <summary>
        /// 前一页
        /// </summary>
        public Page PreviousPage
        {
            get
            {
                throw new System.NotImplementedException();
            }
        }

        /// <summary>
        /// 第一页
        /// </summary>
        public Page FirstPage
        {
            get
            {
                throw new System.NotImplementedException();
            }
        }
        /// <summary>
        /// 最后一页
        /// </summary>
        public Page LastPage
        {
            get
            {
                throw new System.NotImplementedException();
            }
        }
        /// <summary>
        /// 更换页面号
        /// </summary>
        /// <param labelName="newPageNumber">新的页面号</param>
        public int ChangePageId(int newPageNumber)
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 更新页面
        /// </summary>
        public int Update()
        {
            throw new System.NotImplementedException();
        }
        /// <summary>
        /// 获得Page
        /// </summary>
        /// <param name="pageId">页面Id</param>
        static public Page GetPagebyId(decimal pageId)
        {
            throw new System.NotImplementedException();
        }
    }
}
